package com.itheima.pojo.client.orderPaginationVo;

/**
 * @author ChenJunJie
 * @date 2022/6/21 17:38
 * 订单分页->订单菜品
 */
public class OrderDetail {
    /**
     * 菜品名
     */
    private String name;
    /**
     * 菜品数量
     */
    private Integer number;

    public OrderDetail() {
    }

    public OrderDetail(String name, Integer number) {
        this.name = name;
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "name='" + name + '\'' +
                ", number=" + number +
                '}';
    }
}
